package org.plr.ecommerce.controler;

import java.util.List;
import org.plr.ecommerce.model.Category;
import org.plr.ecommerce.model.Label;
import org.plr.ecommerce.model.Product;

public class CategoryControler extends EntityControler<Category> implements Category {

    public CategoryControler(Category category) {
        super(category);
    }

    public Long getId() {
        return getEntity().getId();
    }

    public Long getVersion() {
        return getEntity().getVersion();
    }

    public Label getName() {
        return null;//this.getApplicationContext().getb;
    }

    public void setName(Label name) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public Label getDescription() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void setDescription(Label description) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public Category getCategory() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void setCategory(Category category) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public List<Category> getCategories() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void setCategories(List<Category> categories) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void addCategory(Category category) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void removeCategory(Category category) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public List<Product> getProducts() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void setProducts(List<Product> products) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void addProduct(Product product) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void removeProduct(Product product) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

}
